package il.ac.braude.sona.gui.forms;


import java.util.ArrayList;

/**
 * The FormListener class is an interface for submitting or canceling all implemented FormListener forms
 * @author Ofek Ron
 * @author Avihay Avitan
 * @author Nitzan Inbar
 * @author Sasha Rozenthal
 */
public interface FormListener {
	
	/**
	 * this method will be invoked from non ui thread 
	 * @param formFrame - the fram action invoked
	 */
	public void onFormCanceled(FormFrame formFrame);
	/**
	 * this method will be invoked from non ui thread 
	 * @param formFrame - the fram action invoked
	 */
	public void onFormSubmited(FormFrame formFrame, ArrayList<Object> values);
}
